package com.example.forumbackend.com.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotNull;

/**
 * @author chenguo
 */
@Data
public class TalkerRegisterDTO {
    @NotNull
    protected String username;

    @NotNull
    protected String password;

    @Email
    protected String email;
}
